﻿using SIG.Core;
using SIG.Resources;
using SIG.Resources.Admin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIG.Model.Shipping
{
    public class City : Entity<int>
    {
        public City()
        {
            this.EntityName = EntityNames.City;
            this.Districts = new HashSet<District>();
            RecipientInfoes = new HashSet<RecipientInfo>();
        }
        public string Name { get; set; }
        public int Sort { get; set; }
        public int ProvinceId { get; set; }
        public Province Province { get; set; }
        public ICollection<District> Districts { get; set; }
        public ICollection<RecipientInfo> RecipientInfoes { get; set; }
    }
}
